// let count = 7;
// 表格的line-height
if (document.getElementsByTagName('html')[0].offsetHeight >= 1024) {
  count = 8;
}
if (document.getElementsByTagName('html')[0].offsetHeight > 1280) {
  count = 9;
}
if (document.getElementsByTagName('html')[0].offsetHeight >= 3480) {
  count = 10;
}
if (document.getElementsByTagName('html')[0].offsetHeight < 768) {
  count = 5;
}
//处理表格line-height
// $('.panel-body-1-1').css('line-height', ($('.panel-body-1').height() / count) + 'px');
// $('.panel-body-2-1').css('line-height', ($('.panel-body-2').height() / (count - 2)) + 'px');
// $('.panel-body-3-1').css('line-height', ($('.panel-body-3').height() / (count - 2)) + 'px');
// $('.panel-body-4-1').css('line-height', ($('.panel-body-4').height() / count) + 'px');

// export function setLineHeight(subBody, body) {
//   document.getElementsByClassName(subBody)[0].style.lineHeight = (document.getElementsByClassName(body)[0].offsetHeight / count ) + 'px'
//   return count;
// }
export let count = 7;